
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__PUBLIC__/css/style.css" type="text/css" rel="stylesheet"/>
<script src='__PUBLIC__/js/jquery.js'></script>
<script>
$(document).ready(function(){
	$('.hf').mouseover(function(){
		$(this).parent().siblings('#fb_form').show();
	})
	$('.fb_form').mouseleave(function(){
		$(this).hide();
	})
})
function setTab(name,cursel,n){
	for(i=1;i<=n;i++){
		var menu=document.getElementById(name+i);
		var con=document.getElementById("con_"+name+"_"+i);
		menu.className=i==cursel?"current":"";
		con.style.display=i==cursel?"block":"none";
	}
	if(cursel!=1){
		$('.plbox .pls').css('border-left','solid 1px #ccc');
	}else{
		$('.plbox .pls').css('border-left','none');
	}
}
</script>
<div class='plbox'>
	<div class='pltop'>
		<div class='pls'>
			<span id='pl1' class='current'><a href='javascript:setTab("pl",1,4)'>全部评价(<b class='num'><!--{$count}--></b>)</a></span>
			<span id='pl2'><a href='javascript:setTab("pl",2,4)'>好评(<!--{$praise_count}-->)</a></span>
			<span id='pl3'><a href='javascript:setTab("pl",3,4)'>中评(<!--{$medium_count}-->)</a></span>
			<span id='pl4' class='pls_4'><a href='javascript:setTab("pl",4,4)'>差评(<!--{$poor_count}-->)</a></span>
			<div class='cl'></div>	
		</div>
		<div class='cl'></div>
	</div>

	<notempty name="rows">
	<volist name="rows" id="vo">
    
    <!--循环开始-->
	<div class='plcont' id='con_pl_1' > 	
		<div class='cont_l fl'>
			<div class='icon'>
			<img title='tom' src='icon.png' /><br/>
			</div>
			<p><a href='#' >会员名</a></p>
			<p><a href='#'><empty name="vo.user_id|getUserData=###,truename">匿名用户 <else/><!--{$vo.user_id|getUserData=###,"truename"}--></empty></a></p>
		</div>
		<div class='cont_r fl'>
			<p class='cont_r_t'>
				<span class='star fl'>
					<a class='star_on' href='#'></a>
					<a class='star_on' href='#'></a>
					<a class='star_on' href='#'></a>
					<a class='star_on' href='#'></a>
					<a class='star_off' href='#'></a>
				</span>
				<span class='date fr'><!--{$vo.add_time|date="Y-m-d H:i:s",###}--></span>
				<div class='cl'></div>
			</p>
			<div class='cont_r_c'>
				<p><span>评价内容:</span>
                
                
                <!--{$vo.content}--></p>
				<div class='feedback'><span class='hf'>回复(<!--{$vo.comment_id|getCommentReplyList=###,0,true}-->)</span><span id='yy'><a href="javascript:d(<!--{$vo.comment_id}-->)">有用</a>(0)</span><div class='cl'></div></div>
				<div class='fb_form' id='fb_form' style='display:none'>
					<input type='text' id='fb_cont' />
					<span id='fb_sub'>回复</span> 
				</div>
                
                <div class="reply_list">
                
                <?php $reply_count=getCommentReplyList($vo["comment_id"],0,true);?>
               
               <!--回复列表-->
               <notempty name="reply_count">
                回复列表：
                	<?php $reply_rows=getCommentReplyList($vo["comment_id"],5,false);?>
                    <ul>
                <volist name="reply_rows" id="re">
                	<!--{$re.reply_id}-->
                    <li>
                    
                    <notempty name="re.parent_id">
                    	<?php $getidparentdata=getidparentdata($re["parent_id"],"user_id");?>
                		<empty name="re.user_id|getUserData=###,truename">匿名用户 <else/><!--{$re.user_id|getUserData=###,"truename"}--></empty>@:
                    
                    	<notempty name="getidparentdata.truename">
                    		<!--{$getidparentdata.truename}-->
                    	<else/>
                       		 匿名用户
                    	</notempty>
                    
                	</notempty>
                    
                    <!--{$re.reply_content}--></li>
                    
                	
                </volist>
                </ul>
               </notempty>
                <!--回复列表end-->
                
                </div>
                
			</div>
			<div class=''></div>
		</div>
		<div class='cl'></div>
		
	</div>
	
    </volist>
    <else />
    <li>暂时没评价</li>
    </notempty>
    <!--循环结束--
    
    
 
	</div>
	
</div>








